import commonjs from '@rollup/plugin-commonjs'
import resolve from '@rollup/plugin-node-resolve'
import typescript from '@rollup/plugin-typescript'

export default [
  {
    input: 'packages/vue/src/index.ts',
    output: [
      {
        name: 'Vue',
        sourcemap: true,
        file: './packages/vue/dist/vue.js',
        format: 'iife'
      }
    ],
    plugins: [typescript({ sourceMap: true }), resolve(), commonjs()]
  }
]
